package com.zkn.component.office.excel.template;

import java.util.List;


public class ExcelTemplate {

	private String excelTemplateFilepath;
	private String excelOutputFilepath;
	//HSSFColor
	private Short oddLineBackgroundColor;
	private Short evenLineBackgroundColor;
	private List<Object> sheetDataList;
	
	public String getFileType(){
		return excelTemplateFilepath.substring(excelTemplateFilepath.lastIndexOf("."));
	}
	public String getExcelTemplateFileName(){
		return excelTemplateFilepath.substring(excelTemplateFilepath.lastIndexOf("/"));
	}
	
	public String getExcelTemplateFilepath() {
		return excelTemplateFilepath;
	}
	public void setExcelTemplateFilepath(String excelTemplateFilepath) {
		this.excelTemplateFilepath = excelTemplateFilepath;
	}
	public String getExcelOutputFilepath() {
		return excelOutputFilepath;
	}
	public void setExcelOutputFilepath(String excelOutputFilepath) {
		this.excelOutputFilepath = excelOutputFilepath;
	}
	public List<Object> getSheetDataList() {
		return sheetDataList;
	}
	public void setSheetDataList(List<Object> sheetDataList) {
		this.sheetDataList = sheetDataList;
	}
	public Short getOddLineBackgroundColor() {
		return oddLineBackgroundColor;
	}
	public void setOddLineBackgroundColor(Short oddLineBackgroundColor) {
		this.oddLineBackgroundColor = oddLineBackgroundColor;
	}
	public Short getEvenLineBackgroundColor() {
		return evenLineBackgroundColor;
	}
	public void setEvenLineBackgroundColor(Short evenLineBackgroundColor) {
		this.evenLineBackgroundColor = evenLineBackgroundColor;
	}
}
